package{
    /**
     *@author:Childhood
     *@website:flashas3.diandian.com
     */
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    public class Toolbar extends Sprite{
        private var _bg:Sprite;                 //背景
        private var _freeHand:Sprite;           //自由绘画按钮
        private var _line:Sprite;               //直线绘画按钮
        private var _undo:Sprite;               //撤销按钮
        private var _redo:Sprite;               //重做按钮
        private var _clear:Sprite;              //清除画布
        private var _save:Sprite;               //保存按钮
        public function Toolbar():void{
            addEventListener(Event.ADDED_TO_STAGE,onAddedToStage);
        }

        private function onAddedToStage(event:Event):void{
            removeEventListener(Event.ADDED_TO_STAGE,onAddedToStage);
            init();
        }

        private function init():void{
            drawStuff();
        }

        private function drawStuff():void{
        }

    }
}

